#pragma once
#include "uicontrol.h"

class UIButtonCtrl : public UIControl
{
	enum BUTTON_STATE
	{
		BS_IDLE,
		BS_MOUSEOVER,
		BS_CLICKED
	};
private:
	BUTTON_STATE m_State;
public:
	void InitVertexBuffer();
	void Render();
	void Frame();
	void Run();

	void ReleaseBuffer();
	void ChangeDefaultColor();
	void ChangeSeletColor();

	
public:
	UIButtonCtrl(void);
	virtual ~UIButtonCtrl(void);
};
